package com.ai.service.made;

import com.ai.common.CommonResponse;
import com.ai.entity.function.FunctionBO;
import com.ai.entity.function.FunctionPO;
import com.ai.entity.function.FunctionPage;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Mr.Chen
 * @since 2020-06-18
 */
public interface FunctionService extends IService<FunctionPO> {



    CommonResponse oneById(FunctionPO functionPO);

    CommonResponse modifyInfo(FunctionPO functionPO);

    CommonResponse insert(FunctionPO functionPO);

    CommonResponse delete(FunctionPO functionPO);

    CommonResponse selectByPage(FunctionPage page);

    CommonResponse selectByCamera(FunctionBO functionBO);

    String getNameByCode(String nickname);

    CommonResponse selectAll();

    FunctionPO getFunByType(Integer functionType);
}
